package tech.lixinlei.collection.list.fordemo;

import java.util.ArrayList;

public class ArrayListForDemo {

    public static void main(String[] args) {
        ArrayList<String> lists = new ArrayList<>();
        lists.add("a");
        lists.add(null);
        lists.add("b");
        lists.add(null);
        lists.add("c");
        for (String s : lists) {
            System.out.println(s);
        }
    }

}
